function bookBuy(bookId) {
    if (userId === 0) {
        return layer.msg("需要登录后方可操作，即将跳转到登录页面...", {time: 1500}, function () {
            window.open("/auth/login.html");
        })
    }
    if(bookId < 1){
        return  layer.msg("参数异常", {icon: 2});
    }
    layer.open({
        title: '',
        type: 2,
        area: ['900px', '650px'],
        content: '/order/book.html?bookId=' + bookId
    });
}
